package com.chat.websocket.entity.dto;

/**
 * SunJingxuan
 * 2022 \ 08 \ 08
 */

public class SearchUserDTO extends SuperDTO {

	private Integer userId;

	private String username;

	public SearchUserDTO() {}

	public SearchUserDTO(Integer page, Integer size, Integer userId, String username) {
		super(page, size);
		this.userId = userId;
		this.username = username;
	}

	public SearchUserDTO(Integer userId, String username) {
		this.userId = userId;
		this.username = username;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	@Override
	public String toString() {
		return "SearchUserDTO{" +
				"userId=" + userId +
				", username='" + username + '\'' +
				'}';
	}
}
